import { createRouter, createWebHistory } from 'vue-router'


const routes = [
  {
    path: '/goods',
    name: 'Goods',
    component: () => import('../views/Goods/goods')
  },
  {
    path: '/goods',
    name: 'Goods',
    component: () => import('../views/Goods/goods')
  },
  {
    path: '/comment',
    name: 'Comment',
    component: () => import('../views/Comment/comment')
  },
  {
    path: '/store',
    name: 'Store',
    component: () => import('../views/Stores/store')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
